import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { LendService } from './lend.service';
import { LendController } from './lend.controller';
import { Lend } from './lend.entity'; // 引入实体

@Module({
  imports: [TypeOrmModule.forFeature([Lend])], // 注册实体
  providers: [LendService],
  controllers: [LendController],
})
export class LendModule {}